3.8.14 \(\int \frac {x^{1+m}}{\sqrt {a+b x}} \, dx\) [714]

Optimal. Leaf size=49 \[ -\frac {2 a x^m \left (-\frac {b x}{a}\right )^{-m} \sqrt {a+b x} \, _2F_1\left (\frac {1}{2},-1-m;\frac {3}{2};1+\frac {b x}{a}\right )}{b^2} \]

[Out]

-2*a*x^m*hypergeom([1/2, -1-m],[3/2],1+b*x/a)*(b*x+a)^(1/2)/b^2/((-b*x/a)^m)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {69, 67} \begin {gather*} -\frac {2 a x^m \sqrt {a+b x} \left (-\frac {b x}{a}\right )^{-m} \, _2F_1\left (\frac {1}{2},-m-1;\frac {3}{2};\frac {b x}{a}+1\right )}{b^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^(1 + m)/Sqrt[a + b*x],x]

[Out]

(-2*a*x^m*Sqrt[a + b*x]*Hypergeometric2F1[1/2, -1 - m, 3/2, 1 + (b*x)/a])/(b^2*(-((b*x)/a))^m)

Rule 67

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((c + d*x)^(n + 1)/(d*(n + 1)*(-d/(b*c))^m))
*Hypergeometric2F1[-m, n + 1, n + 2, 1 + d*(x/c)], x] /; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[n] && (Intege
rQ[m] || GtQ[-d/(b*c), 0])

Rule 69

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Dist[((-b)*(c/d))^IntPart[m]*((b*x)^FracPart[m]/(
(-d)*(x/c))^FracPart[m]), Int[((-d)*(x/c))^m*(c + d*x)^n, x], x] /; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[m]
 &&  !IntegerQ[n] &&  !GtQ[c, 0] &&  !GtQ[-d/(b*c), 0]

Rubi steps

\begin {align*} \int \frac {x^{1+m}}{\sqrt {a+b x}} \, dx &=-\frac {\left (a x^m \left (-\frac {b x}{a}\right )^{-m}\right ) \int \frac {\left (-\frac {b x}{a}\right )^{1+m}}{\sqrt {a+b x}} \, dx}{b}\\ &=-\frac {2 a x^m \left (-\frac {b x}{a}\right )^{-m} \sqrt {a+b x} \, _2F_1\left (\frac {1}{2},-1-m;\frac {3}{2};1+\frac {b x}{a}\right )}{b^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.07, size = 49, normalized size = 1.00 \begin {gather*} -\frac {2 a x^m \left (-\frac {b x}{a}\right )^{-m} \sqrt {a+b x} \, _2F_1\left (\frac {1}{2},-1-m;\frac {3}{2};1+\frac {b x}{a}\right )}{b^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^(1 + m)/Sqrt[a + b*x],x]

[Out]

(-2*a*x^m*Sqrt[a + b*x]*Hypergeometric2F1[1/2, -1 - m, 3/2, 1 + (b*x)/a])/(b^2*(-((b*x)/a))^m)

________________________________________________________________________________________

Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 5 in optimal.
time = 2.83, size = 34, normalized size = 0.69 \begin {gather*} \frac {x^{2+m} \text {hyper}\left [\left \{\frac {1}{2},2+m\right \},\left \{3+m\right \},\frac {b x \text {exp\_polar}\left [I \text {Pi}\right ]}{a}\right ]}{\sqrt {a} \left (2+m\right )} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

mathics('Integrate[x^(1 + m)/Sqrt[a + b*x],x]')

[Out]

x ^ (2 + m) hyper[{1 / 2, 2 + m}, {3 + m}, b x exp_polar[I Pi] / a] / (Sqrt[a] (2 + m))

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {x^{1+m}}{\sqrt {b x +a}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(1+m)/(b*x+a)^(1/2),x)

[Out]

int(x^(1+m)/(b*x+a)^(1/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(1+m)/(b*x+a)^(1/2),x, algorithm="maxima")

[Out]

integrate(x^(m + 1)/sqrt(b*x + a), x)

________________________________________________________________________________________

Fricas [F]
time = 0.32, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(1+m)/(b*x+a)^(1/2),x, algorithm="fricas")

[Out]

integral(x^(m + 1)/sqrt(b*x + a), x)

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 1.24, size = 37, normalized size = 0.76 \begin {gather*} \frac {x^{2} x^{m} \Gamma \left (m + 2\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, m + 2 \\ m + 3 \end {matrix}\middle | {\frac {b x e^{i \pi }}{a}} \right )}}{\sqrt {a} \Gamma \left (m + 3\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(1+m)/(b*x+a)**(1/2),x)

[Out]

x**2*x**m*gamma(m + 2)*hyper((1/2, m + 2), (m + 3,), b*x*exp_polar(I*pi)/a)/(sqrt(a)*gamma(m + 3))

________________________________________________________________________________________

Giac [F] N/A
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(1+m)/(b*x+a)^(1/2),x)

[Out]

Could not integrate

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x^{m+1}}{\sqrt {a+b\,x}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(m + 1)/(a + b*x)^(1/2),x)

[Out]

int(x^(m + 1)/(a + b*x)^(1/2), x)

________________________________________________________________________________________